package com.jrx.anytxn.transaction.dto.payment;

import com.jrx.anytxn.transaction.bean.PaymentLoanInfoBean;
import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 *  还款试算请求
 * @author  haopu.zheng
 * date  2019/8/6
 **/
@ApiModel(value = "正常还款试算请求实体", description = "正常还款试算请求实体")
public class PaymentTrialReq extends CommonReq {

    /**
     * 订单信息
     */
    @ApiModelProperty(value = "订单信息" ,required = true)
    @NotNull
    @Size(min=1)
    private List<PaymentLoanInfoBean> loanList;

    public List<PaymentLoanInfoBean> getLoanList() {
        return loanList;
    }

    public void setLoanList(List<PaymentLoanInfoBean> loanList) {
        this.loanList = loanList;
    }
}
